﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.IDAL.SystemInfo
{
   public interface IBankAccount
    {  
       /// <summary>
       /// 添加
       /// </summary>
       /// <param name="model"></param>
       /// <returns></returns>
       int Add(YXShop.Model.SystemInfo.BankAccount model);
       /// <summary>
       /// 修改
       /// </summary>
       /// <param name="model"></param>
       void Update(YXShop.Model.SystemInfo.BankAccount model);
       /// <summary>
       ///删除 
       /// </summary>
       /// <param name="ids"></param>
       void Delete(int id);
       /// <summary>
       /// 批量删除
       /// </summary>
       /// <param name="ids"></param>
       void DeleteAll(string ids);
       /// <summary>
       /// 根据ID得对象
       /// </summary>
       /// <param name="id"></param>
       /// <returns></returns>
       YXShop.Model.SystemInfo.BankAccount GetModelById(int id);

       /// <summary>
       /// 得到银行所有集合
       /// </summary>
       /// <returns></returns>
       List<YXShop.Model.SystemInfo.BankAccount> GetAll();

       /// <summary>
       /// 分页
       /// </summary>
       /// <returns></returns>
       ChangeHope.DataBase.DataByPage GetAllList();

       ChangeHope.DataBase.DataByPage GetList(string orderfield, int pagesize, string Conditions);
    }
}
